<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<style>
	.account-tab{
		min-height:400px !important;
	}
</style>

<div style="min-height:400px;">
	<div style="margin-top: 5px; margin-right: 5px; margin-bottom: 0px; margin-left: 5px;" class="dropDownMovie"> 				
		<div id="tabs" class="tabs ui-tabs ui-widget ui-widget-content ui-corner-all">
			<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
				<li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a href="#tab0"><span>基本信息</span></a></li>
				<li style="display:none" class="ui-state-default ui-corner-top"><a href="#tab2"><span>我的视频</span>	</a></li>
				<li style="display:none" class="ui-state-default ui-corner-top"><a href="#tab3"><span>我的评论</span> </a> </li>
				<li style="display:none" class="ui-state-default ui-corner-top"><a href="#tab4"><span>已看的电影</span></a></li>
				<li style="display:none" class="ui-state-default ui-corner-top"><a href="#tab5"><span>想看的电影</span></a></li>
			</ul>
			<div id="tab0" class="ui-tabs-panel ui-widget-content ui-corner-bottom account-tab">
			  	<div style="float:left;">						   
			  		<img src="<s:property value="#session.user.profileImageURL"/>" style="margin-right:20px;"/>
					<div class="clear"></div>
				</div>
				<div>
					<span class="tabFont1">微博昵称:</span> <span id="datetime" class="tabFont2 mcard" style="display: inline-block; width: 220px;"><s:property value="#session.user.name"/></span>
					<span class="tabFont1">所在地区:</span> <span id="country" class="tabFont2 mcard"><s:property value="#session.user.location"/> </span>
				</div>
				<div>
					<span class="tabFont1">登录次数:</span> <span id="category" class="tabFont2 mcard" style="display: inline-block; width: 220px;"><s:property value="account.loginCount"/> </span>
					<span class="tabFont1">创建日期:</span> <span id="language" class="tabFont2 mcard"><s:property value="account.createDate"/> </span>
				</div>
				<div>
					<span id="award" class="tabFont1" style="display: inline-block"><s:property value="#session.user.description"/></span>
				</div>

				
			</div>
			
			<div id="tab2" class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide account-tab" >
				
				<!-- Paging starts -->
				<s:a href="account?paging.currentPage=1#tab2"> |< </s:a>
				<s:if test="%{paging.currentPage>1}"><s:a href="account?paging.currentPage=%{paging.currentPage-1}#tab2"> << </s:a></s:if>
				<s:else><<</s:else>
				&nbsp;&nbsp;<s:property value="paging.currentPage" />/<s:property value="paging.totalPage" />&nbsp;&nbsp;
				<s:if test="%{paging.currentPage<paging.totalPage}"><s:a href="account?paging.currentPage=%{paging.currentPage+1}#tab2">>></s:a></s:if>
				<s:else>>></s:else>
				<s:a href="account?paging.currentPage=%{paging.totalPage}#tab2"> >| </s:a>
				<!-- Paging ends -->
				
				<ul>
					<s:iterator value="videos">
						<li>
						<a href="movie!load?movie.id=<s:property value="movie.id"/>" target="_blank"> <s:property value="movie.displayName"/></a>
						 - <s:property value="name"/> - <s:property value="url"/></li>
					</s:iterator>
				</ul>
			</div>
			<div id="tab3" class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide account-tab">
			  	
			  	我评论过的电影
			  	<ul>
					
				</ul>
				我评论过的人物
				<ul>
					
				</ul>
				
			</div>
			
			<div id="tab4" class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide account-tab">
				4
			</div>
			
			<div id="tab5" class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide account-tab">
				<a href="account!updateStatus">发布测试微博</a>
			</div>
		</div>
		<!-- <div id="tabs" class="tabs"> -->
	</div>
	
	
	
	
	
	<!--  
	<fieldset>
		<legend>基本信息</legend>
		<div>
			<img src="<s:property value="#session.user.profileImageURL"/>"/>
			<div style="width:140px;">
				<s:property value="#session.user.name"/>
			</div>
		</div>
		
		<ul>
			<li><s:property value="account.id"/></li>
			<li><s:property value="account.loginCount"/></li>
			<li><s:property value="account.loginDate"/></li>
			<li><s:property value="account.createDate"/></li>
		</ul>
	</fieldset>
	
	<fieldset>
		
	</fieldset>
	
	<fieldset>
		<legend>我添加的电影</legend>
	</fieldset>
	
	<fieldset>
		<legend>我想看的电影</legend>
	</fieldset>
	
	<fieldset>
		<legend>我的评论</legend>
	</fieldset>
	-->
</div>
